package apis

// 总线请求

const (
	OpInstanceCreate = "instance.create"
	OpInstanceDelete = "instance.delete"
)

type IRequest struct {
	Data interface{} `json:"data" yaml:"data"`
}

type IResponse struct {
	Code    int         `json:"code" yaml:"code"`
	Message string      `json:"message" yaml:"message"`
	Data    interface{} `json:"data" yaml:"data"`
}

type IEvent struct {
	Code    int         `json:"code" yaml:"code"`
	Message string      `json:"message" yaml:"message"`
	Data    interface{} `json:"data" yaml:"data"`
}
